home *** CD-ROM | disk | FTP | other *** search
- ;Sample Log-On Command File for VERSAdial v 1.1 and ProComm v 2.4.2
- ;By Allen Brunson, David Rhoten, and Gizmo
- ;01-87
-
- ;This is an example of a script for automatically logging onto a
- ;PC-Board ver. 11.7
-
- BEGIN:
- WAITFOR "=no?" ; Await "Graphics?" prompt, and
- TRANSMIT "Yes!" ; send response.
-
- TIMEOUT1_LABEL: ; Provide a loop in case a long
- WAITFOR "name?" ; opening screen causes the
- IF NOT WAITFOR ; WAITFOR to time out.
- GOTO TIMEOUT1_LABEL
- ENDIF
-
- TRANSMIT "First Last!" ; Send full name. PC-B knows not
- ; to prompt for second name.
- TIMEOUT2_LABEL: ; Loop point in case Board has a
- WAITFOR "echo)?" ; large user-base, while awaiting
- IF NOT WAITFOR ; the "Password" prompt.
- GOTO TIMEOUT2_LABEL
- ENDIF
-
- TRANSMIT "Password!" ; Send Password.
-
- TIMEOUT3_LABEL: ; Loop point for above reason while
- WAITFOR "=yes?" ; waiting for the "Check Your Mail?"
- IF NOT WAITFOR ; prompt.
- GOTO TIMEOUT3_LABEL
- ENDIF
-
- LOG OPEN "C:\procomm\log\PcB11-7.LOG" ; Begin a session log
-
- TRANSMIT "!" ; Accept the "Yes" default.
-
- END: ; End the command file, and exit
- EXIT ; back to ProComm.